# 绝对引用，使我们的celery模块不会与原始的celery冲突
from __future__ import absolute_import, unicode_literals
# 加入绝对引入以后，导入当前模块下的内容方法： from xx import xx as xx
from celery_tasks.main import app as celery_app
__all__ = ('celery_app',)

"""
这里非常重要,一定要写,要不然会出现始下错误
Error:
Unable to load celery application.
Module 'celery_tasks' has no attribute 'celery'
"""